package com.top.up.core.dto.oauth;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
@ToString
public class WxOauthReqDTO implements Serializable {

    @NotBlank(message = "临时登录凭证不能为空")
    @ApiModelProperty(name = "code", value = "临时登录凭证")
    private String code;

    @ApiModelProperty(name = "userInfo", value = "用户信息")
    private UserInfo userInfo;

}
